package com.bh.shipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bh.shipment.domain.JcShipmentBack;

import java.util.List;

/**
 * 运单回单Service接口
 *
 * @author slx
 * @date 2023-04-22
 */
public interface IJcShipmentBackService extends IService<JcShipmentBack> {
    /**
     * 查询运单回单
     *
     * @param id 运单回单主键
     * @return 运单回单
     */
    public JcShipmentBack selectJcShipmentBackById(Long id);

    /**
     * 查询运单回单列表
     *
     * @param jcShipmentBack 运单回单
     * @return 运单回单集合
     */
    public List<JcShipmentBack> selectJcShipmentBackList(JcShipmentBack jcShipmentBack);

    /**
     * 新增运单回单
     *
     * @param jcShipmentBack 运单回单
     * @return 结果
     */
    public int insertJcShipmentBack(JcShipmentBack jcShipmentBack);

    /**
     * 修改运单回单
     *
     * @param jcShipmentBack 运单回单
     * @return 结果
     */
    public int updateJcShipmentBack(JcShipmentBack jcShipmentBack);

    /**
     * 批量删除运单回单
     *
     * @param ids 需要删除的运单回单主键集合
     * @return 结果
     */
    public int deleteJcShipmentBackByIds(Long[] ids);

    /**
     * 删除运单回单信息
     *
     * @param id 运单回单主键
     * @return 结果
     */
    public int deleteJcShipmentBackById(Long id);
}
